package cn.ssm.mappers;

import cn.ssm.pojo.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserMapper {
  public User login(@Param("username") String username,@Param("password")  String password);
  User mm(@Param("password")  String password);
  List<User> getUsers(User user);

  User getUserByBid(@Param("id") Integer id);

  int addUser(User user);

  int updateUser(User user);

  int deteleUserByBid(@Param("id") Integer id);
  int updatemm(@Param("username") String username,@Param("password") String password);
  User selectmm(@Param("username") String username);

  int addzc(@Param("username") String username,@Param("pwd") String pwd);

}
